package com.hk.service.impl;

import com.hk.dao.StudentSkillsDao;
import com.hk.entity.StudentSkills;
import com.hk.service.StudentSkillsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentSkillsServiceImpl implements StudentSkillsService {
    @Autowired
    private StudentSkillsDao studentSkillsDao;

    @Override
    public void UUpdatalanguageSkills(String languageSkills, String stuId) {
        // 通过注入的实例调用方法
        studentSkillsDao.upsertLanguageSkills(languageSkills, stuId);
    }

    @Override
    public StudentSkills getlanguageInfo(String stuId) {
        return studentSkillsDao.getlanguageInfo(stuId);
    }

    @Override
    public void UpdataphysicalSkills(String physicalSkills, String stuId) {
        studentSkillsDao.upsertphysicalSkills(physicalSkills,stuId);
    }

    @Override
    public StudentSkills getphysicalInfo(String stuId) {
        return studentSkillsDao.getphysicalInfo(stuId);
    }

    @Override
    public void UpdataadditionalSkills(String additionalSkills, String stuId) {
        studentSkillsDao.upsertadditionalSkills(additionalSkills,stuId);
    }

    @Override
    public StudentSkills getadditionalInfo(String stuId) {
        return studentSkillsDao.getadditionalInfo(stuId);
    }

    @Override
    public void UpdataprofessionalSkills(String professionalSkills, String stuId) {
        studentSkillsDao.upsertprofessionalSkills(professionalSkills,stuId);
    }

    @Override
    public StudentSkills getprofessionalInfo(String stuId) {
        return studentSkillsDao.getprofessionalInfo(stuId);
    }

    @Override
    public StudentSkills allInfo(String stuId) {
        return studentSkillsDao.allInfo(stuId);
    }


}
